//
//  BaseTabBar.h
//  Cycling
//
//  Created by cjg.mini on 2023/3/2.
//

#import <UIKit/UIKit.h>
#import "BaseTabBarModel.h"

@protocol BaseTabBarDelegate < NSObject>

//点击的下标
- (void)baseTabBarDidSelectIndex:(NSUInteger)index;
- (void)baseTabBarWillDeselectIndex:(NSUInteger)index;

@end

NS_ASSUME_NONNULL_BEGIN

@interface BaseTabBar : UIView

@property (nonatomic , strong)UIImageView *bgimView;
@property (nonatomic , strong)NSMutableArray *modelArray;
@property (nonatomic , weak)id <BaseTabBarDelegate>delegate;
@property (nonatomic , assign) NSInteger currentIndex;

@end

NS_ASSUME_NONNULL_END
